#include <stdio.h>
#include <string.h>
#include <unistd.h>


int main()
{
    const char* ptr1 = "hello fwrite\n";
    const char* ptr2 = "hello write\n";

    printf("hello printf\n");
    fprintf(stdout,"hello fprintf\n");
    fwrite(ptr1,strlen(ptr1), 1, stdout);
    write(1, ptr2, strlen(ptr2));

    close(1);
    //fork();

    return 0;
}
